package com.zetor.ms.application.feign.client;

import com.zetor.ms.core.bo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * feignClient接口
 * 主数据远程调用
 *
 * @author zlc
 * @date 2021/11/05
 */
@FeignClient(name = "seata-b")
public interface SeataBClient {

    /**
     * seataCase1
     * @return
     */
    @PostMapping("/v1/seata/clientb/case1")
    Result seataCase1();
    /**
     * seataCase2
     * @return
     */
    @PostMapping("/v1/seata/clientb/case2")
    Result seataCase2();


    /**
     * seataCase3
     * @return
     */
    @PostMapping("/v1/seata/clientb/case3")
    Result seataCase3();

}
